import json
from config import BASE_DR

def read_login(data):
    data_list = []
    with open(data,"r",encoding="utf-8") as f:
        temp = json.load(f)
        for v in temp:
            data_list.append(tuple(v.values()))
    return data_list
if __name__ == '__main__':
    data = BASE_DR + "/data/emp.json"
    r = read_login(data)
    print(r)

